package cn.xxm.dongbao.user.secure.access;

import cn.xxm.dongbao.user.secure.dos.DosStatisticsException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface DosAccessDeniedHandler {
        /**    
         *
         * Set response status and write some information in response.    
         */

    void handle(HttpServletRequest request, HttpServletResponse response, DosStatisticsException accessDeniedException) throws IOException,ServletException;
}